import axios from "@/http/request.js";

// 登录
export const loginApi = (url, data) => {
    return axios.post(url, data)
}
// 注册
export const registerApi = (url, data) => {
    return axios.post(url, data)
}
// 发送邮箱验证码
export const sendEmailCode = (url, data) => {
    return axios.post(url, data)
}

// 校验验证码
export const verifyEmailCode = (url, data) => {
    return axios.post(url, data)
}

// 重置密码
export const resetPassword = (url, data) => {
    return axios.post(url, data)
}
